package com.byq.mm.common.engine;

public class Contact {
	String transport;
	String name;
	boolean online;
	Type type;
	public Type getType() {
		return type;
	}
	public void setType(Type type) {
		this.type = type;
	}
	public enum Type{
		available,unavailable,subscribe,unsubscribe,subscribed,unsubscribed
	}
	public enum Mode{
		available,
		away,
		xa,
		dnd,
		chat
	}
	Mode mode;
	public String getTransport() {
		return transport;
	}
	public void setTransport(String transport) {
		this.transport = transport;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isOnline() {
		return online;
	}
	public void setOnline(boolean online) {
		this.online = online;
	}
	public Mode getMode() {
		return mode;
	}
	public void setMode(Mode mode) {
		this.mode = mode;
	}

}
